home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4416 < prev    next >
Encoding:
Text File  |  1996-08-06  |  996 b   |  31 lines

  1. Newsgroups: comp.lang.c++
  2. Path: artemis.sto.fdata.se!news
  3. From: Peter Hellgren <peter@ost.fdata.se>
  4. Subject: How to control User Input in VC++4.0
  5. Sender: news@artemis.sto.fdata.se (UseNet NetNews)
  6. Message-ID: <310E1AD6.52A0@ost.fdata.se>
  7. Date: Tue, 30 Jan 1996 13:19:18 GMT
  8. Content-Transfer-Encoding: 8bit
  9. Content-Type: text/plain; charset=iso-8859-1
  10. Mime-Version: 1.0
  11. X-Mailer: Mozilla 2.0b5 (WinNT; I)
  12. Organization: WM-data ╓STERSUND
  13.  
  14. I would like to get some advise in controlling user-input in VC++ 4.0.
  15.  
  16. I was thinking of trowing C++ Exceptions from the "BusinessObjectModel" and 
  17. Catching the exceptions in the User Interface. That way I can throw both 
  18. from the "BusinessObjectModel" and from a specific UI.
  19.  
  20. The catch is an Object that control all user Error messages in the system.
  21.  
  22. Does anyone out there have some suggestions to give me ? Is it better to
  23. subclass a CEdit and connect the Object or is there another smart way to 
  24. solve this.
  25.  
  26. Med VΣnliga HΣlsingar 
  27.  
  28. Peter Hellgren.
  29.  
  30. PS
  31.